const devDomain = 'http://health-police-hebei.api.gkjxhz.com'; // 测试环境
const proDomain = 'http://10.30.4.108';
const alpha = process.env.NODE_ENV === 'production' && process.env.VUE_APP_BASE_URL;

global.config = {
  // eslint-disable-next-line no-nested-ternary
  iframeDomain: process.env.VUE_APP_BASE_URL ? process.env.VUE_APP_BASE_URL.indexOf('jianxinyun') === -1 ? 'http://health-police-hebei.h5.gkjxhz.com' : 'http://hebei-health-police.app.jianxinyun.com' : 'http://health-police-hebei.h5.gkjxhz.com',
  // eslint-disable-next-line no-nested-ternary
  domain: alpha ? process.env.VUE_APP_BASE_URL : (process.env.NODE_ENV === 'production' ? proDomain : devDomain),
  version: 'v1.0', // 当前版本号
  pageSize: 15, // 列表单页数据条数
};


